package javabase.desginpattern.structure.decorator;

import java.math.BigDecimal;

/**
 * @author fance
 * @date 18-4-26 下午4:28
 */
public class CoarsePancake extends Pancake {
    public CoarsePancake() {
        this.name = "杂粮煎饼";
    }

    @Override
    public BigDecimal getPrice() {
        return new BigDecimal(5);
    }
}
